<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/statistics.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('statistics_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">statistics.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="statistics_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#ifndef STATISTICS_H_</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#define STATISTICS_H_</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="local_types_8h.html">pcl/apps/point_cloud_editor/localTypes.h</a>&gt;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_statistics.html">   48</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_statistics.html">Statistics</a></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_statistics.html#a4701d84102e2c9e20168f3ec544613ae">   52</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_statistics.html#a4701d84102e2c9e20168f3ec544613ae">~Statistics</a> ()</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    }</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">static</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    std::string</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_statistics.html#ae0c0dc20399480729f93a5470679ca38">   59</a></span>&#160;    <a class="code" href="class_statistics.html#ae0c0dc20399480729f93a5470679ca38">getStats</a>();</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keyword">static</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">void</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    clear();</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_statistics.html#a60ddd90a571ed4c3ce8c0f6317a36d63">   67</a></span>&#160;    <a class="code" href="class_statistics.html#a60ddd90a571ed4c3ce8c0f6317a36d63">Statistics</a> ()</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    {</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    }</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_statistics.html#a567e404052f8f50873c2dfa8cf261251">   72</a></span>&#160;    <a class="code" href="class_statistics.html#a567e404052f8f50873c2dfa8cf261251">Statistics</a> (<span class="keyword">const</span> <a class="code" href="class_statistics.html">Statistics</a>&amp;)</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    {</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;      assert(<span class="keyword">false</span>); </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keyword">virtual</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="class_statistics.html">Statistics</a>&amp;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_statistics.html#add22e612d4f455d5da0e6a02ea16d69a">   80</a></span>&#160;    <a class="code" href="class_statistics.html#add22e612d4f455d5da0e6a02ea16d69a">operator= </a>(<span class="keyword">const</span> <a class="code" href="class_statistics.html">Statistics</a>&amp;)</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;      assert(<span class="keyword">false</span>); <span class="keywordflow">return</span> (*<span class="keyword">this</span>);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">virtual</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    std::string</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_statistics.html#a12a55284e8bb12c0f120ac852d12ecbd">   88</a></span>&#160;    <a class="code" href="class_statistics.html#a12a55284e8bb12c0f120ac852d12ecbd">getStat</a> () <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keywordtype">void</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">   92</a></span>&#160;    <a class="code" href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">registerStats</a> ();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keyword">static</span> std::vector&lt;Statistics*&gt; stat_vec_;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;};</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// STATISTICS_H_</span></div>
<div class="ttc" id="aclass_statistics_html"><div class="ttname"><a href="class_statistics.html">Statistics</a></div><div class="ttdef"><b>Definition:</b> statistics.h:49</div></div>
<div class="ttc" id="aclass_statistics_html_a12a55284e8bb12c0f120ac852d12ecbd"><div class="ttname"><a href="class_statistics.html#a12a55284e8bb12c0f120ac852d12ecbd">Statistics::getStat</a></div><div class="ttdeci">virtual std::string getStat() const =0</div><div class="ttdoc">Returns the statistics in string.</div></div>
<div class="ttc" id="aclass_statistics_html_a4701d84102e2c9e20168f3ec544613ae"><div class="ttname"><a href="class_statistics.html#a4701d84102e2c9e20168f3ec544613ae">Statistics::~Statistics</a></div><div class="ttdeci">virtual ~Statistics()</div><div class="ttdoc">Destructor</div><div class="ttdef"><b>Definition:</b> statistics.h:52</div></div>
<div class="ttc" id="aclass_statistics_html_a567e404052f8f50873c2dfa8cf261251"><div class="ttname"><a href="class_statistics.html#a567e404052f8f50873c2dfa8cf261251">Statistics::Statistics</a></div><div class="ttdeci">Statistics(const Statistics &amp;)</div><div class="ttdoc">Copy Constructor</div><div class="ttdef"><b>Definition:</b> statistics.h:72</div></div>
<div class="ttc" id="aclass_statistics_html_a600df203053cd270b328d95df6a46aa6"><div class="ttname"><a href="class_statistics.html#a600df203053cd270b328d95df6a46aa6">Statistics::registerStats</a></div><div class="ttdeci">void registerStats()</div><div class="ttdoc">Register a statistics</div></div>
<div class="ttc" id="aclass_statistics_html_a60ddd90a571ed4c3ce8c0f6317a36d63"><div class="ttname"><a href="class_statistics.html#a60ddd90a571ed4c3ce8c0f6317a36d63">Statistics::Statistics</a></div><div class="ttdeci">Statistics()</div><div class="ttdoc">The default constructor.</div><div class="ttdef"><b>Definition:</b> statistics.h:67</div></div>
<div class="ttc" id="aclass_statistics_html_add22e612d4f455d5da0e6a02ea16d69a"><div class="ttname"><a href="class_statistics.html#add22e612d4f455d5da0e6a02ea16d69a">Statistics::operator=</a></div><div class="ttdeci">virtual Statistics &amp; operator=(const Statistics &amp;)</div><div class="ttdoc">Equal Operator</div><div class="ttdef"><b>Definition:</b> statistics.h:80</div></div>
<div class="ttc" id="aclass_statistics_html_ae0c0dc20399480729f93a5470679ca38"><div class="ttname"><a href="class_statistics.html#ae0c0dc20399480729f93a5470679ca38">Statistics::getStats</a></div><div class="ttdeci">static std::string getStats()</div><div class="ttdoc">Returns the strings of the statistics.</div></div>
<div class="ttc" id="alocal_types_8h_html"><div class="ttname"><a href="local_types_8h.html">localTypes.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_9654b8d08f4bba4e84b362c5fd320bee.html">apps</a></li><li class="navelem"><a class="el" href="dir_b812044310263d1df0acdcc34fa78063.html">point_cloud_editor</a></li><li class="navelem"><a class="el" href="dir_e7676f72fdf944a58a9890202aea4fdd.html">include</a></li><li class="navelem"><a class="el" href="dir_f36a0c0a6789487b19709622e8aaedff.html">pcl</a></li><li class="navelem"><a class="el" href="dir_dfd6ef21606ddfa5cd0b7ee0903ae9ec.html">apps</a></li><li class="navelem"><a class="el" href="dir_4eea226eade4b66d41c153c54681c108.html">point_cloud_editor</a></li><li class="navelem"><a class="el" href="statistics_8h.html">statistics.h</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
